package com.movitech.mobile.cz.base.syndata;

import org.springframework.stereotype.Service;

import java.util.List;

@Service("synDataService")
public class SynDataServiceImpl implements SynDataService {


    @Override
    public boolean synSynSupplierData2MDM(SynSupplierToMdmDataVo synSupplierToMdmDataVo, boolean isNew) {
        return true;
    }

    /**
     * 同步供应商数据到旧系统
     * @param synSupplierDataVo
     * @return
     */
//    @Override
//    public boolean synSynSupplierDataToOldSystem(SynSupplierDataVo synSupplierDataVo,boolean isNew){
//        return true;
//    }


    /***
     * 检测旧系统中的该供应商是否已经存在
     * @param licenseNo
     * @return true 不存在 false 存在
     */
    @Override
    public boolean checkSupplierLicenseNo(String licenseNo) {
        return true;
    }

    /**
     * 下发投标保证金
     * @param synSourcingDepositDataVoList
     * @return
     */
    @Override
    public boolean invokeSourcingDeposit(List<SynSourcingDepositDataVo> synSourcingDepositDataVoList) {
        return true;
    }


    /***
     * 下发招标项状态控制
     * @param synSourcingDataVo
     * @return
     */
    @Override
    public boolean changeSourcingStatus(SynSourcingDataVo synSourcingDataVo) {
        return true;
    }

    /***
     * 获取招标项调度状态
     * @param scCode
     * @return
     */
    @Override
    public String querySourcingStatus(String scCode) {
        return null;
    }

    @Override
    public boolean deletemergeContract(String contractId, String contractDetailId) {
        return true;
    }
}
